﻿Public Class main_form



    Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label1.Click

    End Sub

    Private Sub abtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles abtn.Click
        FormA.Show()

        bbtn.Enabled = False
        cbtn.Enabled = False
        dbtn.Enabled = False
        ebtn.Enabled = False
        fbtn.Enabled = False

    End Sub

    Private Sub bbtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles bbtn.Click
        Formb.Show()

        abtn.Enabled = False
        cbtn.Enabled = False
        dbtn.Enabled = False
        ebtn.Enabled = False
        fbtn.Enabled = False
    End Sub

    Private Sub cbtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cbtn.Click
        FormC.Show()

        abtn.Enabled = False
        bbtn.Enabled = False
        dbtn.Enabled = False
        ebtn.Enabled = False
        fbtn.Enabled = False
    End Sub

    Private Sub dbtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles dbtn.Click
        FormD.Show()

        abtn.Enabled = False
        bbtn.Enabled = False
        cbtn.Enabled = False
        ebtn.Enabled = False
        fbtn.Enabled = False
    End Sub

    Private Sub ebtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ebtn.Click
        FormE.Show()

        abtn.Enabled = False
        bbtn.Enabled = False
        cbtn.Enabled = False
        dbtn.Enabled = False
        fbtn.Enabled = False
    End Sub

    Private Sub fbtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles fbtn.Click
        FormF.Show()

        abtn.Enabled = False
        bbtn.Enabled = False
        cbtn.Enabled = False
        dbtn.Enabled = False
        ebtn.Enabled = False

    End Sub

    Private Sub main_form_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Me.BackgroundImage = My.Resources.chalkboard
        Me.BackgroundImageLayout = ImageLayout.Stretch
    End Sub
End Class
